An Elementary Proof for Some Semantic Characterizations of Nondeterministic Floyd-Hoare Logic

نویسنده

  • Ildikó Sain
چکیده

We give a relatively simple and direct proof for Csirmaz's characterization of Floyd-Hoare logic for nondeterministic programs [5]. (This also yields a very simple proof for Leivant's characterization [13].) We also establish a direct connection between "relational traces" and "time-models" for nondeterministic programs. Introduction In this paper we investigate semantic characterizations of the program verifying power of Floyd-Hoare logic of nondeterministic programs. Our main aim is to obtain a relatively simple and direct proof for Csirmaz's model-theoretic characterization (this is the main theorem of [5]). Furthermore, as a byproduct of Makowsky-Sain [14] and our direct proof for Csirmaz's characterization herein, we get a self-contained and straightforward proof for Leivant's Proposition 9 of [13] (which is a characterization of Floyd-Hoare logic in terms of Henkin-type (or nonstandard) second-order logic): it was shown in [14] that our Corollary 2.1 immediately yields Leivant's characterization, hence our rather easy proof of Corollary 2.1 herein provides an equally easy proof for Leivant's result by [14]. To find simpler proofs (and direct constructions) for Csirmaz's important characterization is a problem which goes back to 1980. A characterization for deterministic programs was found in early 1980 (see [7]) and a stronger char*This project has been supported by the Hungarian National Foundation for Scientific Research, grant no. 1810. The final version of the present paper was completed when I was visiting at Iowa State University, Department of Mathematics, in September 1987. I am grateful to L. Csirmaz for suggestions that considerably improved the mathematical content of this paper. I also wish to express my thanks to A. Pasztor for carefully reading this paper and for her valuable remarks. Received November 20, 1985; revised October 15, 1987

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Proving Program Invariance and Termination by Parametric Abstraction, Lagrangian Relaxation and Semidefinite Programming

In order to verify semialgebraic programs, we automatize the Floyd/Naur/Hoare proof method. The main task is to automatically infer valid invariants and rank functions. First we express the program semantics in polynomial form. Then the unknown rank function and invariants are abstracted in parametric form. The implication in the Floyd/Naur/Hoare verification conditions is handled by abstractio...

متن کامل

Distributed Graph Automata and Verification of Distributed Algorithms

Combining ideas from distributed algorithms and alternating automata, we introduce a new class of finite graph automata that recognize precisely the languages of finite graphs definable in monadic second-order logic. By restricting transitions to be nondeterministic or deterministic, we also obtain two strictly weaker variants of our automata for which the emptiness problem is decidable. As an ...

متن کامل

Program Algebras with Monotone Floyd-Hoare Composition

In the paper special program algebras of partial predicates and functions are described. Such algebras form a semantic component of a modified Floyd-Hoare logic constructed on the base of a composition-nominative approach. According to this approach, Floyd-Hoare assertions are presented with the help of a special composition called Floyd-Hoare composition. Monotonicity and continuity of this co...

متن کامل

Propositional Temporal Logics and Their Use in Model Checking

For the sake of proving correctness of programs with respect to their speciications, a number of formalisms exist. A traditional one has been proof systems involving Floyd-Hoare correctness formulae. More recently, especially with regard to concurrent programs such as air traac control systems or operating systems, which are nonterminating and concurrent, and in connection with the desire for a...

متن کامل

Weak Second Order Characterizations of Various Program Verification Systems

We show the equivalence (!{ LeivIIlII' .1' dUlfl/r;wr;zmion of Floyd-Hoare Logic in weak second order logic (fLeSSJ) with both Csirltl(lZ'S (f Cs80I) 111/(/ Selin's (f Sa85bJ) characterizations of Floyd-Hoare logic in Nonstandard Logics of Programs, Ow method allows us u) spell out tlJ.e precise role of the comprehension axiom in weak second order [og;I:. Ii .(~ then prove similar resultsIor ot...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Notre Dame Journal of Formal Logic

دوره 30  شماره 

صفحات  -

تاریخ انتشار 1989